package com.baichang.taoshunda.entity;

import com.baichang.framework.annotation.jdbc.Table;
import com.baichang.framework.annotation.jdbc.Id;
import com.baichang.framework.entity.BaseEntity;

import java.util.Date;
import java.math.BigDecimal;


@Table(name="t_delivery_balance")
public class DeliveryBalance extends BaseEntity{

	/**
	 * 余额id
	 **/
	private Integer id;
	/**
	 * 配送员编号
	 **/
	private Integer deliveryId;
	/**
	 * 余额
	 **/
	private BigDecimal balance;
	/**
	 * 创建时间
	 **/
	private Date created;
	/**
	 * 订单号
	 **/
	private String orderNumber;
	/**
	 * 余额状态
	 **/
	private String balanceState;
	/**
	 * 收支来源
	 **/
	private Integer sourceType;
	/**
	 * 当前总金额
	 */

	private BigDecimal currentAmount;
	/**
	 * 余额id
	 **/
	@Id
	public Integer getId(){
		return id;
	}
	public void setId(Integer id){
		this.id=id;
	}
	/**
	 * 配送员编号
	 **/
	public Integer getDeliveryId(){
		return deliveryId;
	}
	public void setDeliveryId(Integer deliveryId){
		this.deliveryId=deliveryId;
	}
	/**
	 * 余额
	 **/
	public BigDecimal getBalance(){
		return balance;
	}
	public void setBalance(BigDecimal balance){
		this.balance=balance;
	}
	/**
	 * 创建时间
	 **/
	public Date getCreated(){
		return created;
	}
	public void setCreated(Date created){
		this.created=created;
	}
	/**
	 * 订单号
	 **/
	public String getOrderNumber(){
		return orderNumber;
	}
	public void setOrderNumber(String orderNumber){
		this.orderNumber=orderNumber;
	}
	/**
	 * 余额状态
	 **/
	public String getBalanceState(){
		return balanceState;
	}
	public void setBalanceState(String balanceState){
		this.balanceState=balanceState;
	}
	/**
	 * 收支来源
	 **/
	public Integer getSourceType(){
		return sourceType;
	}
	public void setSourceType(Integer sourceType){
		this.sourceType=sourceType;
	}

	public BigDecimal getCurrentAmount() {
		return currentAmount;
	}

	public void setCurrentAmount(BigDecimal currentAmount) {
		this.currentAmount = currentAmount;
	}
}